package com.jing21.learn.elasticsearch.intf.model;

import com.jing21.learn.elasticsearch.intf.enums.EsIndexTypeEnum;

import java.io.Serializable;
import java.math.BigInteger;

public abstract class BaseIndexPo implements Serializable{

    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = -1760366505127679821L;

    /**
     * 获取索引类型的枚举（相当于表）
     *
     * @return
     */
    public abstract EsIndexTypeEnum getEsIndexType();

    public abstract BigInteger getId();
}